package com.literaryfamily.literaryfamily.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class EncryptionKey {
	/**
	 * 加密密码用的密钥
	 */
	// TODO: 当前为开发阶段硬编码密钥，部署时请改为配置或环境变量读取
	@Value("${encryption.fixed-salt}")
	private String key;

	public String getKey() {
		return key;
	}
}